<template>
  <div>
    <!-- 组件代码的封装 -->
    <div>{{ num }}</div>
    <el-button @click="add">点击++ </el-button>
    <hr>
    {{ xxxxx }}
  </div>
</template>
<script>
import numData from './mixins/numData'
export default {
  mixins: [numData],
  data() {
    return {
      num: 999
    }
  },
  created() {
    console.log('首页created')
  },
  methods: {}
}
</script>
<style></style>
